package com.crh.bean;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author Chrui
 * @date 2018/10/11__9:23
 */
@Component
public class Userdocrelation implements Serializable {


    private static final long serialVersionUID = 5068126515642901020L;


    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 文档id
     */
    private Integer docId;
    /**
     * 用户下载数
     */
    private String downCount;

    public Userdocrelation() {
        super();
    }

    public Userdocrelation(Integer id, Integer userId, Integer docId) {
        this.id = id;
        this.userId = userId;
        this.docId = docId;
    }

    public String getDownCount() {
        return downCount;
    }

    public void setDownCount(String downCount) {
        this.downCount = downCount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }
}
